package com.cristina.attention.annotation;

import com.cristina.attention.utils.AttentionCommon;

import java.lang.annotation.*;

/**
 * 用于保存netty+websocket交互的聊天历史记录
 * 交给 kafka 去推送给相应的处理器去执行保存聊天记录操作
 *
 * @author by superman
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SyncChat {

    int value() default AttentionCommon.TYPE_SIMPLE;
}
